package lession2_3_3;

public class StaticSub extends StaticBase{
	//子类再定义一个count类变量
	static int count = 200;
	public void info() {
		System.out.println("访问本类的count类变量：" + count);//200
		System.out.println("访问父类的count类变量：" + StaticBase.count);//200
		System.out.println("访问父类的count类变量：" + super.count);//20
	}
	public static void main(String[] args) {
		StaticSub sb = new StaticSub();
		sb.info();
	}
}
